<seed-content>
  <seed-toolbar-header>
    <seed-toolbar-title>{{dataStore.pageTitle}}</seed-toolbar-title>
    <seed-toolbar-menu></seed-toolbar-menu>
  </seed-toolbar-header>
  <div class="noticePage">
    <seed-infinite-scroll (infiniteScroll)="getNotices()">
      <div class="notice-list" *ngIf="notices.length>0">
        <notice-item *ngFor="let notice of notices" [notice]="notice" (onclick)="goToTargetPage($event)" [type]="dataStore.noticeType"></notice-item>
      </div>
      <seed-default-graph *ngIf="!stateStore.haveData" [text]="'暂无内容'" [url]="'unifyPic'"></seed-default-graph>
      <seed-infinite-scroll-content *ngIf="notices.length>0"></seed-infinite-scroll-content>
    </seed-infinite-scroll>
  </div>
</seed-content>
